// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './vuex'
//  公共样式
import '../static/css/960.css'
import '../static/css/compatibility.css'

import '../static/css/aniu.css'
import '../static/css/font-awesome.min.css'
import VueLazyload from 'vue-lazyload'
// 将lodash.dist 挂载在window上
Vue.prototype._ = require('lodash')
Vue.config.productionTip = false
Vue.use(VueLazyload, {
  preLoad: 1.3,
  loading: require('./assets/loading-svg/ball-triangle.svg'),
  attempt: 1
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  mounted () {
  },
  components: { App },
  template: '<App/>'
})
